package com.chianghao.nio.core.handle;

import com.chianghao.nio.core.handle.http.HttpResponse;

/**
 * @author ChiangHao
 * @date 2022/10/18 21:26
 */
public class ChannelContext {


    private boolean isRead = false;
    private boolean isWrite = false;


    private HttpResponse response;

    public boolean getIsRead() {
        return this.isRead;
    }

    public void setIsRead(boolean read) {
        this.isRead = read;
    }

    public boolean getIsWrite() {
        return this.isWrite;
    }

    public void setIsWrite(boolean write) {
        this.isWrite = write;
    }

    public HttpResponse getResponse() {
        return response;
    }

    public void setResponse(HttpResponse response) {
        this.response = response;
    }
}
